home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
clang
/
wndwc20.zip
/
EX10.C
< prev
next >
Wrap
Text File
|
1989-03-06
|
731b
|
22 lines
/* EXAMPLE 10: Screen design
----------------------------------------------------------------------*/
#include <conio.h>
#include <dos.h>
#include "wndwc20.h"
void main()
{
qinit();
initwindow( LIGHTGRAY_BG, 1, 0 );
makewindow( 5, 19, 17, 41, GREEN_BG, WHITE+GREEN_BG, VDOUBLE_BORDER,
WINDOW1 );
tws.wsline = SINGLE_BORDER; /* Don't want VDOUBLE_BORDER */
wlineh ( 4, 1, tws.wcols ); /* Use wcols for full window width */
wlineh ( 12, 1, tws.wcols );
wbrdrh ( 8 );
wbrdrv ( 20 );
wbrdrpart( 8, 20, BRDR_CL ); /* For the Cross Line */
getch();
}